<?php
$model_name = $controller_name;
$module_name = $module_name;
$module_name_small = $module_name_small;


$maches_arr = array (
	'/@model_name@/',
	'/@module_name@/',
	'/@module_name_small@/',
	'/@module_table_name@/',
	'/@module_primary_key@/',	
);

$replace_arr = array (
	$model_name,
	$module_name,
	$module_name_small,
	$module_table_name,
	$module_primary_key,	
);

//	preg_match_all('/@([^@]+)@/', $catalog_model_file_contents, $maches);
//	sort($maches['1']);
//	print_r(array_unique($maches['1']));

	$catalog_model_file_contents = preg_replace($maches_arr, $replace_arr, $catalog_model_file_contents);
?>